* {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	/* background-color: rgba(0, 0, 0, 0.1); */

	-webkit-transition: background 300ms;
	-moz-transition: background 300ms;
	-ms-transition: background 300ms;
	-o-transition: background 300ms;
	transition: background 300ms;
}

* {
	/* background: rgba(0, 0, 0, .1); */

}

body {
	font-size: 14px;

	font-family: "Helvetica Neue", Helvetica, "Microsoft YaHei", Arial, sans-serif;
	/* color: #444; */


	line-height: 1.5;
	background: #f9f9f9;
}



/* .top-nav  */

.top-nav {
	background: #EEEEEE;
	color: #333333;

}

.top-nav .item {
	display: inline-block;
	text-decoration: none;
	padding: 7px 10px;
	color: #666666;
}


.top-nav .item:hover {
	/* 深一些的颜色 */
	color: #333333;
}


/* .top-nav  end */



/* div {
	margin-bottom: 30px;
}
 */


a {
	text-decoration: none;
}


/* header  begin   */


.header {
	/* margin: 20px 0px; */

	padding: 20px 0;

}

.header .logo {
	font-size: 30px;
	/* padding: 20px 0; */
}

.header .search-bar {

	/* margin: 10px; */

	/* padding: 10px; */

}

.header .search-bar {
	/* outline: none; */
	/* width: 80%; */
	border: 2px solid #dd182b;
	background: #dd182b;
}


.header .search-bar input,
.header .search-bar .search-btn {
	outline: none;
	border: 0;
	padding: 10px;
	display: block;
	float: left;
}


.header .search-bar input {
	width: 80%;
}


.header .search-bar .search-btn {
	width: 20%;
	color: #FFFFFF;
	background: #dd182b;
	font-weight: 600;
}


.header .search-bar input:focus {
	-webkit-box-shadow: inset 0 2px 2px rgba(0, 0, 0, .2);
	-moz-box-shadow: inset 0 2px 2px rgba(0, 0, 0, .2);
	box-shadow: inset 0 2px 2px rgba(0, 0, 0, .2);
}


.header .search-btn:hover {
	background: red;

}

/* cart begin */

.header .cart {

	text-align: center;
}

.header .cart a {
	padding: 10px;
	background: #FFFFFF;
	color: #dd182b;

	border: 2px solid #EEEEEE;
	float: right;
	width: 80%;

	text-decoration: none;

}


.header .cart a:hover {
	/* background: #999999; */
	color: red;
	font-weight: 700;
}

/* cart end */



/* header end */




/* main promote begin */
.main-promote {

	background: #DEDEDE;
}


.main-promote .cat {
	background: #6e6568;
	color: #FFFFFF;
}



.main-promote .cat .item {

	padding: 10px 20px;
}


.main-promote .cat .item:hover {

	background: rgba(0, 0, 0, .2);
	cursor: pointer;
}


.main-promote .userinfo {
	padding: 10px;
	background: #FFFFFF;
	color: #888888;
	/* line-height: 1.7; */

	-webkit-box-shadow: 0px 0px 1px 2px rgba(0, 0, 0, 0.1);
	-moz-box-shadow: 0px 0px 1px 2px rgba(0, 0, 0, 0.1);
	box-shadow: 0px 0px 1px 2px rgba(0, 0, 0, 0.1);
}

.main-promote .userinfo>* {

	margin-bottom: 15px;
}


.main-promote .userinfo .avatar {

	width: 50px;
	height: 50px;
	background: #BBBBBB;
	border-radius: 50%;
	float: left;
	margin-right: 10px;

}

/* main promote end */



.cat-promote .title::before {

	display: inline-block;
	content: "";
	width: 5px;
	height: 27.4px;
	/* 垂直方向 对齐方式*/
	vertical-align: middle;
	background: #dd182b;
	margin-right: 7px;
}



/* cat  promote  begin */
.cat-promote .title {
	font-size: 25px;

}




.cat-promote .item {
	/* 这里 item 作为一个布局工具 */
	padding: 5px;
}


.cat-promote .item .card {
	padding: 5px;
	/* background-color: #CCCCCC; */
	/* background: #EEEEEE; */
	/* 250, 235, 215 */
	/* background: rgba(250, 235, 215,.6); */
	background: #FAEBD7;
	height: 200px;
	border-radius: 4px;
	
	/* 添加过渡 对于 transform , box-shadow 添加过渡 */
	-webkit-transition: transform 300ms ,box-shadow 300ms;
	-moz-transition: transform 300ms ,box-shadow 300ms;
	-ms-transition: transform 300ms ,box-shadow 300ms;
	-o-transition: transform 300ms ,box-shadow 300ms;
	transition: transform 300ms, box-shadow 300ms;

}



.cat-promote .item .card:hover {

	/* inset  横向 纵向  [羽化] [缩放]  颜色 */
	-webkit-box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
	-moz-box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
	box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
	
	/* 向上 偏移10 像素 */
	transform: translateY(-3px);
	
	cursor: pointer;

}


/* cat  promote  end */




/* footer  */

.footer {

	/* background-color: #4385F6; */

	text-align: center;
	color: #999aaa;
	background: #ffffff;

	margin-top: 20px;
	padding: 30px 0;

}



.footer .item {
	margin: 5px;
}


.footer .item a {
	color: #999aaa;
	padding: 10px;
}

.footer .item a:hover {

	color: #555555;
}






/* 公共类的一些 样式 */
.container {
	width: 1080px;
	max-width: 1080px;
	margin: 0 auto;
	display: block;

	/* background-color: rgba(0, 0, 0, 0.5); */
}

.container img {
	display: block;
	max-width: 100%;
}



.lf {
	float: left;
}

.rf {
	float: right;
}



.clear-float::before,
.clear-float::after {
	content: '';
	display: block;
	clear: both;
}




/* p {
	background-color: #CCCCCC;
	width: 25%;
	float: left;
}
 */


.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-25 {

	display: block;
	position: relative;
	min-height: 1px;
	float: left;
	/* testing */
	margin-right: 0px;
}



.col-1 {
	width: 10%;
}

.col-2 {
	width: 20%;
}



.col-25 {
	width: 25%;
}

.col-3 {
	width: 30%;
}

.col-4 {
	width: 40%;
}

.col-5 {
	width: 50%;
}

.col-6 {
	width: 60%;
}

.col-7 {
	width: 70%;
}

.col-8 {
	width: 80%;
}

.col-9 {
	width: 90%;
}
